<template>
	<view class="myOrderBox" >
				{{detail.content||detail.data}}

	</view>
</template>

<script>
	export default {
		data() {
			return {
				
				id:'',
				detail:{}
			};
		},
		onLoad(opt) {
			if(opt.id) this.id = opt.id
			
			this.getlist()
		},

		methods: {
			
			getlist() {
				
				this.$api.noticeinfo({readtime:1,id:this.id}).then(res => {
					console.log(res)
					if (res.code == 1) {
						this.detail=res.data
					}

				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.myOrderBox {
		margin: 22rpx;
		border-radius: 12rpx;
		background-color: #fff;
		padding: 28rpx;
		

	}


</style>